import request from '@/common/request'

//获取离职成员的客户列表
export function getUnassignedList(data) {
  return request({
    url: '/apiqywx/customerInheritance/getUnassignedList',
    method: 'post',
	data:data
  })
}

//获取离职成员信息
export function getUserInfo(data) {
    return request({
        url: '/apiqywx/customerInheritance/getUserInfo',
        method: 'post',
        data:data
    })
}

//获取离职成员群数量
export function getGroupchat(data) {
    return request({
        url: '/apiqywx/customerInheritance/getGroupchat',
        method: 'post',
        data:data
    })
}

//获取客户IDS
export function getExternalcontactList(data) {
    return request({
        url: '/apiqywx/customerInheritance/getExternalcontactList',
        method: 'post',
        data:data
    })
}

//获取客户详情
export function getExternalcontactInfo(data) {
    return request({
        url: '/apiqywx/customerInheritance/getExternalcontactInfo',
        method: 'post',
        data:data
    })
}

//获取客户详情
export function getMoreExternalcontactInfo(data) {
    return request({
        url: '/apiqywx/customerInheritance/getMoreExternalcontactInfo',
        method: 'post',
        data:data
    })
}

//获取客户详情
export function getSimplelist(data) {
    return request({
        url: '/apiqywx/customerInheritance/getSimplelist',
        method: 'post',
        data:data
    })
}

//分配离职员工的客户
export function transferCustomer(data) {
    return request({
        url: '/apiqywx/customerInheritance/transferCustomer',
        method: 'post',
        data:data
    })
}

//获取已分配离职员工
export function getTransferResult(data) {
    return request({
        url: '/apiqywx/customerInheritance/getTransferResult',
        method: 'post',
        data:data
    })
}

